package com.example.demo;

//import lombok.Data;

//@Data
public class Account {
    private Integer id;

    public Account(Integer id, String username, Double banlance) {
        this.id = id;
        this.username = username;
        this.banlance = banlance;
    }

    private String username;
    private Double banlance;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Double getBanlance() {
        return banlance;
    }

    public void setBanlance(Double banlance) {
        this.banlance = banlance;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", banlance=" + banlance +
                '}';
    }
}
